//
//  Team9Tool.h
//  Team9Project
//
//  Created by 朱嘉祺 on 15/10/16.
//  Copyright © 2015年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface Team9Tool : NSObject
#pragma mark 标准label高
+ (CGFloat)heightByFloatSize:(CGFloat)fontSize
                        With:(NSString *)text;
#pragma mark 任意label高
+ (CGFloat)heightByFloatSize:(CGFloat)fontSize
                       width:(CGFloat)width
                        With:(NSString *)text;
#pragma mark sd_image
+ (void)sd_imageView:(UIImageView *)imageView
               image:(NSString *)str
    placeholderImage:(NSString *)placeholder;
#pragma mark sd_imageView 完成之后的方法 封装 1.image 2 image name
+ (void)sd_imageView:(UIImageView *)imageView
               image:(NSString *)str
         placeholder:(UIImage *)placeholderImage;
+ (void)sd_imageView:(UIImageView *)imageView
               image:(NSString *)str
    placeholderImage:(NSString *)placeholder
         detailImage:(NSString *)detailStr;

#pragma mark sd_imageView 进度条的封装
+ (void)sd_progress_imageView:(UIImageView *)imageView
               image:(NSString *)str
             placeholderImage:(NSString *)placeholder;

#pragma mark sd_imageView push 到各种页面的封装
// 点击push 无tabar
+ (void)imageView:(UIImageView *)imageView
             type:(NSString *)type
               Id:(NSString *)Id
   viewController:(UIViewController *)VC;
// 点击push tabar 可选
+ (void)imageView:(UIImageView *)imageView
             type:(NSString *)type
               Id:(NSString *)Id
   viewController:(UIViewController *)VC
         baiHiden:(BOOL)hiden;
// 直接push 无tabar
+ (void)viewContrller:(UIViewController *)VC
           pushBytype:(NSString *)type
                andId:(NSString *)Id;
// 直接push tabar可选
+ (void)viewContrller:(UIViewController *)VC
           pushBytype:(NSString *)type
                andId:(NSString *)Id
             barHiden:(BOOL)hiden;
// 直接push 申请type 再push 无tabar
+ (void)imageView:(UIImageView *)imageView
               Id:(NSString *)Id
   viewController:(UIViewController *)VC
         barHiden:(BOOL)hiden;
@end
